set(OUTPUT_APP_NAME "RKHumanAttr")

set(FastDeploy_INCLUDE_DIRS ${PROJECT_SOURCE_DIR}/fastdeploy
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/include
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/include/opencv
)


message(PROJECT_SOURCE_DIR : ${PROJECT_SOURCE_DIR})

set(FastDeploy_LIBS ${PROJECT_SOURCE_DIR}/third_libs/libfastdeploy.so.0.0.0
${PROJECT_SOURCE_DIR}/third_libs/install/onnxruntime/lib/libonnxruntime.so
${PROJECT_SOURCE_DIR}/third_libs/rknpu2_runtime/librknnrt.so
${PROJECT_SOURCE_DIR}/third_libs/install/paddle2onnx/lib/libpaddle2onnx.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_calib3d.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_core.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_dnn.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_features2d.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_flann.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_highgui.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_imgcodecs.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_imgproc.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_ml.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_objdetect.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_photo.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_shape.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_stitching.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_superres.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_video.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_videoio.so
${PROJECT_SOURCE_DIR}/third_libs/install/opencv/lib/libopencv_videostab.so
)

include_directories(${FastDeploy_INCLUDE_DIRS})
add_executable(${OUTPUT_APP_NAME} main.cpp
RKHumanAttr.cpp)
target_link_libraries(${OUTPUT_APP_NAME}
        ${FastDeploy_LIBS}
        )

